package com.ls.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2022-05-09
 */
public class BookingRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 医院编号
     */
    private String hoscode;

    /**
     * 预约周期
     */
    private Integer cycle;

    /**
     * 放号时间
     */
    @TableField("releaseTime")
    private String releaseTime;

    /**
     * 停号时间
     */
    @TableField("stopTime")
    private String stopTime;

    /**
     * 过号时间
     */
    @TableField("quitDay")
    private String quitDay;

    /**
     * 最晚取号时间
     */
    @TableField("quitTime")
    private String quitTime;

    /**
     * 取号规则
     */
    private String rule;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHoscode() {
        return hoscode;
    }

    public void setHoscode(String hoscode) {
        this.hoscode = hoscode;
    }

    public Integer getCycle() {
        return cycle;
    }

    public void setCycle(Integer cycle) {
        this.cycle = cycle;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getStopTime() {
        return stopTime;
    }

    public void setStopTime(String stopTime) {
        this.stopTime = stopTime;
    }

    public String getQuitDay() {
        return quitDay;
    }

    public void setQuitDay(String quitDay) {
        this.quitDay = quitDay;
    }

    public String getQuitTime() {
        return quitTime;
    }

    public void setQuitTime(String quitTime) {
        this.quitTime = quitTime;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    @Override
    public String toString() {
        return "BookingRule{" +
        "id=" + id +
        ", hoscode=" + hoscode +
        ", cycle=" + cycle +
        ", releaseTime=" + releaseTime +
        ", stopTime=" + stopTime +
        ", quitDay=" + quitDay +
        ", quitTime=" + quitTime +
        ", rule=" + rule +
        "}";
    }
}
